﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="DoanhThuPrint.aspx.cs" Inherits="Sbook.AdminIstrator.DoanhThuPrint" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Báo cáo doanh thu</title>
   
</head>
<body>
    <form id="Form1" runat="server">
    <div style="float:right"><asp:LinkButton ID="lbtExport" runat="server" 
            onclick="lbtExport_Click">Export to excel</asp:LinkButton></div>
    <br /><br />
    <asp:Label ID="lblDate" runat="server" Font-Bold="True" Font-Size="Large" 
        ForeColor="#3366FF"></asp:Label>
                    <br />
                    <br />
                    <asp:Repeater ID="rpDelivery" runat="server">
                        <HeaderTemplate>
                            <table border="1px" bordercolor="Gray" cellpadding="0" cellspacing="0" style="border-collapse:collapse;width:700px">
                                <thead>
                                    <tr style="background-color:#5998C6; height:20px;" class="white_text">
                                        
                                        <th scope="col" class="rounded">
                                            OrderID
                                        </th>
                                        <th scope="col" class="rounded">
                                           Order Date
                                        </th>
                                         <th scope="col" class="rounded">
                                           Approved Date
                                        </th>
                                        <th scope="col" class="rounded">
                                            Price
                                        </th>
                                        
                                       
                                    </tr>
                                </thead>
                                
                        </HeaderTemplate>
                        <ItemTemplate>
                            <tbody>
                                <tr>
                                    
                                    <td>
                                        
                                            <%#Eval("DeliveryCode") %>
                                        
                                    </td>
                                    <td>
                                        <asp:Label runat="server" ID="lblDate1" Text=' <%#Eval("DeliveryDate") %>'>
                                             
                                        </asp:Label>
                                      
                                    </td>
                                     <td>
                                        <asp:Label runat="server" ID="lblDate2" Text='<%#Eval("DeliveryApprovedDate") %>'></asp:Label>
                                        
                                    </td>
                                    <td>
                                        <asp:Label ID="lblPrice" runat="server" Text='<%#Eval("DeliveryPrice") %>'></asp:Label> VNĐ
                                       
                                        
                                    </td>
                                    
                                  
                                </tr>
                            </tbody>
                        </ItemTemplate>
                        <FooterTemplate>
                                 <tfoot>
    	                            <tr style="background-color:Silver">
        	                            <td colspan="2"></td>
                                        <td colspan="">
                                            <asp:Label ID="lblSumPrice" runat="server" Text="" Font-Bold="true"></asp:Label></td>
                    
        	                            

                                    </tr>
                                </tfoot>
                                
                            </table>
                        </FooterTemplate>
                    </asp:Repeater>
                   
    </form>
</body>
</html>
